<template>
  <div>
    <keep-alive :include="getChat" :max="8">
      <router-view />
    </keep-alive>
  </div>
</template>

<script>
import { mapGetters } from 'vuex';

export default {
  name: 'app',

  computed: {
    ...mapGetters('common', ['getChat']),
  },
};
</script>
